package com.everett.starmall.member;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;


@EnableFeignClients(basePackages = "com.everett.starmall.member.feign")//扫描feign
@EnableDiscoveryClient//开启注册发现
@SpringBootApplication
@MapperScan("com.everett.starmall.member.dao")//扫描dao
public class StarmallMemberApplication {

	public static void main(String[] args) {
		SpringApplication.run(StarmallMemberApplication.class, args);
	}

}
